﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;

namespace BUS
{
    public class FriendRequestBUS
    {
        FriendRequestDAO friendRequestDAO = new FriendRequestDAO();

        public FriendRequest GetFriendRequest(int userId)
        {
            return friendRequestDAO.GetFriendRequest(userId);
        }

        public void AddFriendRequest(int userId, string friendName)
        {
            friendRequestDAO.AddFriendRequest(userId, friendName);
        }

        public bool DeleteFriendRequest(int userId, string friendName)
        {
            return friendRequestDAO.DeleteFriendRequest(userId, friendName);
        }
    }
}
